package cn.jdy.plugins.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import cn.jdy.common.bo.BaseEntry;
import cn.jdy.platform.entity.ConfValue;

/**
 * @desc 汉水商城-商家信息（卖家）
 * 
 */
@Entity
public class Mall extends BaseEntry implements Serializable {
  private static final long serialVersionUID = 1L;
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)             //根据数据库自动适配 mysql默认自增
  private Integer id;
  private String name;//店名字
  private Integer userid; 
  private String  address;   //地址
  private String  tel;  //电话
  private String updateTmie;//修改时间
  private String keyword; // 关键词
  private String lng;     //经纬度
 
  private String istype;     //   1是积分2是纯服务的
  private String fdjlday;     //   浮动奖励利率 月
  private String fdjljd;     //   浮动奖励利率   季
  private String fdjlyear;     //   浮动奖励利率  年
  
  public String getIstype() {
	return istype;
}
public void setIstype(String istype) {
	this.istype = istype;
}
public String getFdjlday() {
	return fdjlday;
}
public void setFdjlday(String fdjlday) {
	this.fdjlday = fdjlday;
}
public String getFdjljd() {
	return fdjljd;
}
public void setFdjljd(String fdjljd) {
	this.fdjljd = fdjljd;
}
public String getFdjlyear() {
	return fdjlyear;
}
public void setFdjlyear(String fdjlyear) {
	this.fdjlyear = fdjlyear;
}
private String  logo;   //logo
  private String  brief; // 店铺简介
  @Column(columnDefinition = "longtext")
  private String  introduce; //介绍
  private String status;  //状态  0未通过，1有效或者已通过
  private String province;// 所在地区 省
  private String city;// 所在地区 市
  private String county;// 所在地区  县级
  private String mallimg;//图片简介
  private String by1;  // 活动图片
  private String by2;  //活动链接
  private String by3;  //
  private Long columnId;//类别
  private String email;// 邮箱地址
  private String userName;// 用户名 登录使用
  private String password;// 密码
  private String  phone;// 手机号
  private String  contacts  ;// 联系人
  private String  organid  ;// 保存人id
  @ManyToOne
  @JoinColumn(name = "columnId", insertable = false, updatable = false)
  private ConfValue cv;
  
  public String getOrganid() {
	return organid;
}
public void setOrganid(String organid) {
	this.organid = organid;
}
public Integer getId() {
    return id;
  }
  public void setId(Integer id) {
    this.id = id;
  }
  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }
  public String getAddress() {
    return address;
  }
  public void setAddress(String address) {
    this.address = address;
  }
  public String getTel() {
    return tel;
  }
  public void setTel(String tel) {
    this.tel = tel;
  }
  public String getLng() {
    return lng;
  }
  public void setLng(String lng) {
    this.lng = lng;
  }
  public String getLogo() {
    return logo;
  }
  public void setLogo(String logo) {
    this.logo = logo;
  }
  public String getBrief() {
    return brief;
  }
  public void setBrief(String brief) {
    this.brief = brief;
  }
  public String getIntroduce() {
    return introduce;
  }
  public void setIntroduce(String introduce) {
    this.introduce = introduce;
  }
  public String getStatus() {
    return status;
  }
  public void setStatus(String status) {
    this.status = status;
  }
  public String getProvince() {
    return province;
  }
  public void setProvince(String province) {
    this.province = province;
  }
  public String getCity() {
    return city;
  }
  public void setCity(String city) {
    this.city = city;
  }
  public String getCounty() {
    return county;
  }
  public void setCounty(String county) {
    this.county = county;
  }
  public String getBy1() {
    return by1;
  }
  public void setBy1(String by1) {
    this.by1 = by1;
  }
  public String getBy2() {
    return by2;
  }
  public void setBy2(String by2) {
    this.by2 = by2;
  }
  public String getBy3() {
    return by3;
  }
  public void setBy3(String by3) {
    this.by3 = by3;
  }
  public String getmallimg() {
    return mallimg;
  }
  public void setmallimg(String mallimg) {
    this.mallimg = mallimg;
  }
  public Integer getUserid() {
    return userid;
  }
  public void setUserid(Integer userid) {
    this.userid = userid;
  }
  public Long getColumnId() {
    return columnId;
  }
  public void setColumnId(Long columnId) {
    this.columnId = columnId;
  }
  public ConfValue getCv() {
    return cv;
  }
  public void setCv(ConfValue cv) {
    this.cv = cv;
  }
  public String getUpdateTmie() {
    return updateTmie;
  }
  public void setUpdateTmie(String updateTmie) {
    this.updateTmie = updateTmie;
  }
  public String getKeyword() {
    return keyword;
  }
  public void setKeyword(String keyword) {
    this.keyword = keyword;
  }
  public String getEmail() {
    return email;
  }
  public void setEmail(String email) {
    this.email = email;
  }
  public String getUserName() {
    return userName;
  }
  public void setUserName(String userName) {
    this.userName = userName;
  }
  public String getPassword() {
    return password;
  }
  public void setPassword(String password) {
    this.password = password;
  }
  public String getPhone() {
    return phone;
  }
  public void setPhone(String phone) {
    this.phone = phone;
  }
  public String getContacts() {
    return contacts;
  }
  public void setContacts(String contacts) {
    this.contacts = contacts;
  }
  
}
